﻿using Microsoft.EntityFrameworkCore;
using MyWeb.ScheduledTasks.Models;

namespace MyWeb.ScheduledTasks.Context
{
    public class JobsContext:DbContext
    {
        public JobsContext(DbContextOptions<JobsContext> options) : base(options)
        {

        }
        /// <summary>
        /// 任务
        /// </summary>
        public DbSet<Jobs> Jobs { get; set; }
        /// <summary>
        /// 任务日志
        /// </summary>
        public DbSet<TaskLog> TaskLogs { get; set; }
    }
}
